<!--
 * @Description: This is a JS program !
 * @Author: 史志龙
 * @Github: https://github.com/szl-shalom/
 * @Date: 2019-08-01 10:48:47
 * @LastEditors: 史志龙
 * @LastEditTime: 2019-08-01 10:48:47
 -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./css/index.css">
</head>

<body>
    <div class="wrap">
        <div class="swiper-container myBanner">
            <div class="swiper-wrapper">
                <div class="swiper-slide active">
                    <img src="./images/1.jpg" alt="">
                </div>
                <div class="swiper-slide">
                    <img src="./images/2.jpg" alt="">
                </div>
                <div class="swiper-slide">
                    <img src="./images/3.jpg" alt="">
                </div>
            </div>

            <button class="left btn">&lt;</button>
            <button class="right btn">&gt;</button>


            <div class="pagation">
                <!-- <ul >
                    <li class="active"></li>
                    <li></li>
                    <li></li>
                </ul> -->
            </div>
        </div>
    </div>

    <script src="./js/轮播.js"></script>
    <script>
        var data = ["1.jpg", "2.jpg", "3.jpg", "4.jpg", "5.jpg", "6.jpg", "7.jpg", "8.jpg"]
        new Banner({
            data: data,
            el: '.myBanner'
        })

      

    </script>
</body>

</html>